namespace WpfDemoControlLibrary
{
    using System.Text;

    /// <summary>
    /// Represents a created person.
    /// </summary>
    public class Person
    {
        private string name;
        private string firstname;
        private string nationality;

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public string Firstname
        {
            get { return firstname; }
            set { firstname = value; }
        }

        public string Nationality
        {
            get { return nationality; }
            set { nationality = value; }
        }

        public override string ToString()
        {
            StringBuilder stringBuilder = new StringBuilder();
            stringBuilder.Append(this.firstname);
            stringBuilder.Append(" ");
            stringBuilder.Append(this.name);
            stringBuilder.Append(" ");
            stringBuilder.Append(this.nationality);
            return stringBuilder.ToString();
        }
    }
}